function main(params) {
    const self = this;

    let regionCode = null;
    let unitId = null;

    let treeSelectId = params.id;
    let treeSelectRegionCode = params.data.columns.region_code;

    if (treeSelectId.endsWith('region')) {
        unitId = null;
        if (treeSelectRegionCode !== '00') {
            regionCode = treeSelectRegionCode + "%";
        }
    } else {
        regionCode = null;
        unitId = parseInt(treeSelectId.replace(/[^0-9]/g, ''))
    }

    let pageTableList = self.$$("page_widget_list_cw4ybw");
    if (pageTableList.dataEngine && pageTableList.dataEngine.state) {
        // 给列表组件设置参数，参数名meter_id为要过滤列表中的列名，后面为参数值，取自树节点参数
        pageTableList.$children[0].$$setExtraParams({
            regionCode: regionCode,
            unitId: unitId
        })
        // 找到列表部件中的表格组件元素
        let tableComp = pageTableList.dataEngine.state.getElement("table_7kjg0m");
        if (tableComp) {
            //执行列表刷新
            tableComp.$$refreshData();
        }
    }

}
